package com.kfc.po;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.*;

/**
 * Entity implementation class for Entity: Food
 *
 */
@Entity
public class Food implements Serializable {

	
	private static final long serialVersionUID = 1L;
	@Id
	private Integer foodId;
	@Column(length=20,nullable=false)
	private String foodName;
	@Column(precision = 5, scale = 2)
	private double price;
	private double charge;
	private int number;
	private String other;    
	@Column(length=20)
	private String kind;
	@Temporal(TemporalType.TIME)
	private Date serveTime;
	@Temporal(TemporalType.TIME)
	private Date quitTime;
	
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getKind() {
		return kind;
	}
	public void setKind(String kind) {
		this.kind = kind;
	}
	public Date getServeTime() {
		return serveTime;
	}
	public void setServeTime(Date serveTime) {
		this.serveTime = serveTime;
	}
	public Date getQuitTime() {
		return quitTime;
	}
	public void setQuitTime(Date quitTime) {
		this.quitTime = quitTime;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
   
}
